﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataMode;

namespace IBLL
{
    public interface IMessagesInVideoDisplay
    {

        IOrderedQueryable GetMessagesByVideoID(int videoID);

        IOrderedQueryable GetMessagesByVideoIDOnePage(int videoID, int pageNum);

        int GetMessagesTotalPageNumByVideoID(int videoID);

        void InsertMessage(message msg);

        void DeleteMessageByMessageID(int messageID);

        string GetUserNameOfMessage(int messageID);

        int GetUserIDByUserName(string username);
    }
}
